.discountItem{
    height: 40rem;
    width: 25rem;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    background-color: #fafafa;
    margin: .5rem;
    position: relative;
    border-radius: .5rem;
}
.discountItem>div:first-child{
    width: 100%;
    height: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.discountItem>div>img{
    width: 80%;
}
.discountItem>div:nth-child(2){
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    width: 100%;
    height: 50%;
    background-color: #f6f6f6;
    padding: 0 .5rem;
}
.name{
    font-size: 3rem;
}

.discountItem>div:nth-child(2)>div{
    display: flex;
    justify-content: space-between;
}

.shoppingCart{
    width: 6rem;
    height: 6rem;
    background-color: rgb(255, 255, 255);
    background-image: url('../../../../../assets/icon/gouwuche.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 70%;
    /* margin-left: 2rem; */
    border-radius: 50%;
}

.price{
    color: red;
}
.price>span:last-child{
    font-size: 3rem;
}
.beforePrice{
    font-size: 2rem;
    color: rgb(134, 133, 133);
    text-decoration: line-through;
}

.occluder{
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: rgba(196, 196, 196,.8);
    border-radius: .5rem;
    color: white;
    font-size: 6rem;
    text-align: center;
    line-height: 40rem;
}

